home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / comm / hamcom21.zip / HC.CFG < prev    next >
Text File  |  1992-06-11  |  10KB  |  347 lines

  1. #
  2. # HC.CFG 920611
  3. #
  4. # HamComm 2.1 sample configuration file
  5. #
  6.  
  7.  
  8. #
  9. # HamComm will automatically search for this file on program startup.
  10. # The current directory is searched first, then all directories along
  11. # the current "PATH" environment variable.
  12. #
  13. # The character '#' starts a comment.  All characters up to the end of
  14. # the line are ignored, including the '#' character itself.
  15. #
  16. # Numbers are normally entered in decimal notation, but you can also
  17. # use hexadecimal values starting in '0x'.
  18. #
  19.  
  20.  
  21. #
  22. # Setup serial ports
  23. #
  24. # HamComm maintains an internal table of available serial ports.
  25. # Every port has a unique base port address and interrupt request line.
  26. # Up to four ports can be defined.  On startup the table looks like this:
  27. #
  28. #       iobase  irq
  29. #  COM1  0x3f8   4
  30. #  COM2  0x2f8   3
  31. #  COM3      0   0
  32. #  COM4      0   0
  33. #
  34. # COM1 and COM2 are predefined to their standard values.
  35. # COM3 and COM4 are undefined.
  36. #
  37. # Undefined ports can not be selected from the 'Port' menue.
  38. #
  39. # Let's assume we have a non-standard serial port at address 0x2E8 (hex)
  40. # using interrupt request 5.  The following 'define port' statement will
  41. # make this port available as COM4.
  42. #
  43.  
  44. # define port com4  iobase 0x2e8  irq 5
  45.  
  46. #
  47. # We can also redefine any port using the 'define port' statement.
  48. #
  49. # For the following example let's assume we have a mouse connected to
  50. # COM1, so we don't want HamComm to fool around with that port.
  51. # If you remove the comment character from the following statement
  52. # the base address and irq for COM1 will be set to 0 and HamComm
  53. # will ignore it.  Consequently COM1 is now no longer available from
  54. # the 'Port' menue.
  55. #
  56.  
  57. # define port com1  iobase 0  irq 0
  58.  
  59.  
  60. #
  61. # At startup HamComm normally uses COM2.  This can be changed with
  62. # the 'select port' statement.  Undefined ports can not be selected.  
  63. #
  64.  
  65. select port com2
  66.  
  67.  
  68. #
  69. # Set startup audio center frequency for receive and transmit tones.
  70. # You may select any value between 500Hz and 2400Hz (default is 700Hz).
  71. #
  72.  
  73. set afcenter 750
  74.  
  75.  
  76. #
  77. # Set startup audio frequency shift between mark and space tones.
  78. # You may select any value between 25Hz and 999Hz (default is 170Hz).
  79. #
  80.  
  81. set afshift 170
  82.  
  83. #
  84. # While AFC (Automatic Frequency Control) is turned on, the audio center
  85. # frequency will automatically follow the input signal during RTTY reception.
  86. #
  87. # Disable AFC for now.
  88. #
  89.  
  90. set afc off
  91.  
  92.  
  93. #
  94. # When the TX data buffer runs empty during transmit mode, HamComm will
  95. # automatically start sending idle characters.  This feature is normally
  96. # disabled but can be activated using the following command:
  97. #
  98.  
  99. set diddle on
  100.  
  101.  
  102. #
  103. # The TX audio signal is normally generated with the PC's speaker.
  104. # If we use the AFSK signal from the COM port or an external AFSK
  105. # we probably want to disable it.
  106. # The speaker can be controlled using the following command.
  107. #
  108.  
  109. set speaker on
  110.  
  111.  
  112. #
  113. # For some PAs (power amplifier) there should be a delay time between
  114. # activation of the PTT line and the RF signal from the transmitter.
  115. # This delay time is controlled by the PADELAY parameter.  When switching
  116. # to TX mode HamComm activates the PTT line immediately, but the speaker
  117. # output will not be enabled before the specified number of milliseconds
  118. # have elapsed.  Since most HamComm users probably don't have a PA or have
  119. # a PA that doesn't require the delay, PADELAY is set to 0.
  120. #
  121.  
  122. set padelay 0
  123.  
  124.  
  125. #
  126. # The transmitter needs a little time to start after we pull the ptt line.
  127. # Set the TXDELAY to the number of milliseconds required.
  128. # 30ms should be enough for almost any modern transceiver.
  129. #
  130.  
  131. set txdelay 50
  132.  
  133.  
  134. #
  135. # Now specify the time to wait after TXDELAY until we send out
  136. # the first character. Time for your qso partner to tune in.
  137. #
  138.  
  139. set txwait 2000
  140.  
  141.  
  142. #
  143. # Set the number of bytes for the receive buffer.
  144. #
  145. # All characters received are first put into this buffer by the 
  146. # interrupt routines.  When the TTY functions are active they
  147. # are removed from the buffer and displayed in the RX window.
  148. #
  149. # The size of the receive buffer should not exceed 65000 bytes.
  150. #
  151.  
  152. set rxbuffersize 256
  153.  
  154. #
  155. # Set the size of the transmit buffer.
  156. #
  157. # All characters to be transmitted are first copied from the TX window
  158. # into the transmit buffer.  The transmit routine will remove them
  159. # from the buffer one at a time and send them to the speaker output.
  160. #
  161. # The size of the transmit buffer should not exceed 65000 bytes.
  162. #
  163.  
  164. set txbuffersize 10000
  165.  
  166.  
  167. #
  168. # Set the number of lines for the receive window buffer.
  169. #
  170. # This is not the window size on the screen, but the number of received
  171. # lines that can be rolled back.  For each line about 160 bytes of
  172. # memory are required.  Use the SYSTEM entry from the INFO menue to
  173. # display the size of free memory.
  174. #
  175.  
  176. set rxwindowlines 50
  177.  
  178. #
  179. # Set the number of lines for the transmit window buffer.
  180. #
  181.  
  182. set txwindowlines 50
  183.  
  184.  
  185. #
  186. # Set the maximum transmit line length.  Lines on old mechanical TTY 
  187. # maschines are somewhat less than 80 characters long.
  188. #
  189.  
  190. set txlinelength 66
  191.  
  192.  
  193. #
  194. # Set the entry mode for the TX window to 'line' or 'word'.
  195. # This can also be changed any time during program execution
  196. # using the Control-W key.
  197. #
  198.  
  199. set entrymode line
  200.  
  201.  
  202. #
  203. # Set the insert mode for the TX window to 'on' or 'off'.
  204. # This can also be changed any time during program execution
  205. # using the INS key.
  206. #
  207.  
  208. set insertmode off
  209.  
  210.  
  211. #
  212. # Define the end-of-text character.  HamComm will automatically return to
  213. # receive mode when the transmit routine reads this character from the
  214. # tx buffer.  The character can be specified as decimal number, hex number
  215. # or as the character itself.
  216. #
  217. # Examples: set endoftext 230    # use the greek letter for 'micro'
  218. #           set endoftext 0x7F   # use the DEL character (control-backspace)
  219. #           set endoftext "ß"    # this is handy for german keyboards
  220. #
  221. # The end-of-text feature can be disabled by using the value 0.
  222. #
  223.  
  224. set endoftext 0x7f    # control-backspace
  225.  
  226.  
  227. #
  228. # The callsign decoder normally uses the file HC.PRE for information
  229. # about prefixes.  If you already have a file with the same format
  230. # on your disk you can tell HamComm about it with the "set prefixfile"
  231. # command.  Here is an example:
  232. #
  233.  
  234. # set prefixfile c:\ham\cqww.cty
  235.  
  236.  
  237. #
  238. # Define some standard texts.  They can be selected for transmission
  239. # from the 'Text' menue.  The texts labelled SHIFT_Fxx can also be send
  240. # by pressing the corresponding function key.
  241. #
  242. # Double quotes (") are only required if the string contains spaces
  243. # or the comment character (#).
  244. #
  245. # \#  will be replaced with the current QSO count.
  246. # \+  increments QSO count, then just like \#.
  247. # \d  will be replaced with the current date and time.
  248. # \e  will be replaced with the currently selected end-of-text character.
  249. # \n  starts a new line.
  250. # \z  will be replaced with the current time.
  251. #
  252. # A text can be included in another text by surrounding its name
  253. # with '~' (tilde) characters.  If the name starts with an AT sign (@)
  254. # HamComm will look for a file with that name.  See 'station.txt' for an
  255. # example.  Note that the text in the included file can itself include
  256. # other texts or files.  Make sure that there are no circular references!
  257. #
  258.  
  259. #
  260. # Define text elements for function keys SHIFT_F01 - SHIFT_F10.
  261. #
  262.  
  263. define text SHIFT_F01  " ryryryry cq cq cq de ~mycall~ ~mycall~ ~mycall~"
  264.                       " ~mycall~ ~mycall~\n"
  265.  
  266. define text SHIFT_F02  " ryryryry ~call~ ~call~ ~call~"
  267.                        " de ~mycall~ ~mycall~ pse k k k\n\e\n"
  268.  
  269. define text SHIFT_F03  " ryryryry ~call~ de ~mycall~\n"
  270.  
  271. define text SHIFT_F04  " back to you ~name~... ~call~ de ~mycall~ pse k k k\n"
  272.  
  273. define text SHIFT_F05  ~@station.txt~
  274.  
  275. define text SHIFT_F06  " de ~mycall~\ntnx... 599 \+ 599 \# 599 \#\nbk bk "
  276.  
  277. define text SHIFT_F07  " ~call~"
  278.  
  279. define text SHIFT_F08  " ~mycall~"
  280.  
  281. define text SHIFT_F09  "ryryryryry"
  282.  
  283. define text SHIFT_F10 " pse k k k\n"
  284.  
  285.  
  286. #
  287. # Define other text elements
  288. #
  289.  
  290. define text banner    "\noooo   o      ooooo  o   o  ooooo   ooo"
  291.                       "\no   o  o      o       o o   o      o   o"
  292.                       "\no   o  o      oooo     o    ooo    o"
  293.                       "\no   o  o          o    o    o      o   o"
  294.                       "\noooo   ooooo  oooo     o    ooooo   ooo\n"
  295.  
  296. define text mycall    dl5yec
  297. define text myname    django
  298. define text myqth     paderborn
  299. define text mylocator jo41jr
  300.  
  301. # The text "mylocator" is also used by the QTH distance/direction calculator.
  302.  
  303.  
  304. #
  305. # The following text elements can be used to distinguish
  306. # received/transmitted text in a logfile.  They will be evaluated
  307. # and inserted at the beginning of every line of the logfile.  
  308. #
  309. # Examples:
  310. #   define text logrxlabel ""             # delete previously defined label
  311. #   define text logrxlabel "RX:"          # insert "RX:"
  312. #   define text logrxlabel "~call~ \z "   # insert call and time
  313. #
  314.  
  315. define text logrxlabel "R "
  316. define text logtxlabel "T "
  317.  
  318.  
  319. #
  320. # Some standard phrases
  321. #
  322.  
  323. define text std01     " tnx for answering my call."
  324. define text std02     " my name is ~myname~ ~myname~ ~myname~."
  325. define text std03     " my qth is ~myqth~ ~myqth~ ~myqth~"
  326. define text std04     " locator is ~mylocator~ ~mylocator~"
  327. define text std05     " your report is "
  328. define text std06     " how do you copy ?"
  329. define text std07     " tnx for the nice qso and hope to cuagn."
  330. define text std08     " 73 es 55 to you ~name~ and your family."
  331. define text std09     " the weather today is "
  332. define text std10     " the temperature is abt "
  333. define text std11     " and now i'll get me another beer. "
  334.  
  335.  
  336. #
  337. # Ignore rest of config file
  338. #
  339.  
  340. exit
  341.  
  342.  
  343. 73 es 55 de Django
  344.  
  345. DL5YEC @ DB0BQ
  346. schroeder.pad@sni-usa.com
  347.